﻿@using planerka.Web.Helpers;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>@ViewBag.Title</title>
    <link href="/Content/admin.css" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.8.2.min.js")" type="text/javascript"></script>
    <link rel="shortcut icon" href="@Url.Content("~/Content/images/caption_planner.png")" />
    @RenderSection("HeadContent", required: false)
</head>
<body>
    <div class="page">
    <div id="header">
    <div id="menucontainer">
        @if (User.IsInRole("Operator"))
        {@Html.Partial("menuOperator")}
        else
        {@Html.Partial("menuAdministrator")}

        
    </div>
    <a id="minlogo" href="/">
        Planerka.info
    </a>
    </div>
    <div id="main">
        @RenderBody()
        <div id="footer">
            </div>
    </div>
    </div>
</body>
</html>
